<script setup lang="ts">
	import {
		onLaunch,
		onShow,
		onHide
	} from "@dcloudio/uni-app";
	import {
		onNetWorkState,
		onHotUpdate
	} from './utils/app.ts';

	onLaunch(() => {
		console.log("App Launch");
		// 热更新
		onHotUpdate()
	});
	onShow(() => {
		console.log("App Show");
		// 监听网络状态
		onNetWorkState()
	});
	onHide(() => {
		console.log("App Hide");
	});

</script>
<style>
  /* 导入字体图标 */
  @import url('./static/fonts/iconfont/iconfont.css');
	/* 导入页面样式 */
	/* 动画 */
	@import 'animate.css';
	/* 全局 */
	@import '@/common/styles/global.scss';
  /* 通用 */
  @import '@/common/styles/common.scss';
</style>
